package com.dongjiantong.user.model;

//import com.dongjiantong.biz.model.FarmStock;
import com.dongjiantong.mybatis.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "djt_farms")
public class Farms extends BaseEntity implements Serializable {

    /**
     * 养殖场code
     */
    private String farmscode;

    /**
     * 名称
     */
    private String farmsname;


    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    private Long user_id;
    /**
     * 状态，1：正常，-1：删除
     */
    private Integer status;

    @Column(name = "animal_onetype")
    private Integer animalOneType;

    @Column(name = "animal_onename")
    private String animalOneName;

    @Column(name = "animal_twotype")
    private Integer animalTwoType;


    @Column(name = "animal_twoname")
    private String animalTwoName;

    /**
     * 1 养殖场，2 散户,3 屠宰场, 4无害化, 5物流公司 (字典中取值)
     */
    @Column(name = "farms_type")
    private Integer farmsType;

    /**
     * 是否规模场,0:不是;1:是(散户之类的不是规模化养殖场)
     */
    @Column(name = "is_scale")
    private Integer isScale;

    /**
     * 即年出栏量
     */
    private Integer scale;

    /**
     * 场主联系人
     */
    private String linkman;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * A,B,C类型
     */
    private String rank;


    /**
     * 养殖场的地址，是否属于 3禁养区、2限养区、1适养区
     */
    private Integer scope;

    /**
     * 省
     */
    private String province;

    /**
     * 省ID
     */
    @Column(name = "province_id")
    private Integer provinceId;

    /**
     * 市
     */
    private String city;

    /**
     * 市ID
     */
    @Column(name = "city_id")
    private Integer cityId;

    /**
     * 区
     */
    private String region;

    /**
     * 区ID
     */
    @Column(name = "region_id")
    private Integer regionId;

    /**
     * 街道，可以为空
     */
    private String street;

    /**
     * 街道ID，可以为空
     */
    @Column(name = "street_id")
    private Integer streetId;

    private String village;

    @Column(name = "village_id")
    private Integer villageId;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;
    /**
     * 开通区域ID
     */
    @Column(name = "region_account_id")
    private Integer regionAccountId;

    @Column(name = "created_id")
    private Long createdId;

    @Column(name = "delete_flag")
    private Integer deleteFlag;
    /**
     * 是否拒防户
     */
    @Column(name = "is_reject_imm")
    private Integer isRejectImm;
    /**
     * 更改人ID
     */
    @Column(name = "updated_id")
    private Integer updatedId;

    @Column(name = "created_at")
    private Date createdAt;

    @Column(name = "updated_at")
    private Date updatedAt;


    public String getFarmscode() {
        return farmscode;
    }

    public void setFarmscode(String farmscode) {
        this.farmscode = farmscode;
    }

    public Integer getScope() {
        return scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public String getFarmsname() {
        return farmsname;
    }

    public void setFarmsname(String farmsname) {
        this.farmsname = farmsname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAnimalOneType() {
        return animalOneType;
    }

    public void setAnimalOneType(Integer animalOneType) {
        this.animalOneType = animalOneType;
    }

    public String getAnimalOneName() {
        return animalOneName;
    }

    public void setAnimalOneName(String animalOneName) {
        this.animalOneName = animalOneName;
    }

    public Integer getAnimalTwoType() {
        return animalTwoType;
    }

    public void setAnimalTwoType(Integer animalTwoType) {
        this.animalTwoType = animalTwoType;
    }

    public String getAnimalTwoName() {
        return animalTwoName;
    }

    public void setAnimalTwoName(String animalTwoName) {
        this.animalTwoName = animalTwoName;
    }

    public Integer getFarmsType() {
        return farmsType;
    }

    public void setFarmsType(Integer farmsType) {
        this.farmsType = farmsType;
    }

    public Integer getIsScale() {
        return isScale;
    }

    public void setIsScale(Integer isScale) {
        this.isScale = isScale;
    }

    public Integer getScale() {
        return scale;
    }

    public void setScale(Integer scale) {
        this.scale = scale;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public Integer getStreetId() {
        return streetId;
    }

    public void setStreetId(Integer streetId) {
        this.streetId = streetId;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Integer getRegionAccountId() {
        return regionAccountId;
    }

    public void setRegionAccountId(Integer regionAccountId) {
        this.regionAccountId = regionAccountId;
    }

    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Integer getIsRejectImm() {
        return isRejectImm;
    }

    public void setIsRejectImm(Integer isRejectImm) {
        this.isRejectImm = isRejectImm;
    }

    public Integer getUpdatedId() {
        return updatedId;
    }

    public void setUpdatedId(Integer updatedId) {
        this.updatedId = updatedId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}